public class DiscardPile extends CardPile{
	DiscardPile(int x1, int y1) {
		super(x1, y1);
	}
	public void addCard(Card aCard){
		
		super.addCard(aCard);
		if (!aCard.isFaceup())
			aCard.flip();
	}
	
}
